<template>
	<view class="deviceStatistics">
		<view class="top">
			<contentSw :swlist="conSwlist" @conswitch="conswitch"></contentSw>
		</view>
		<view class="content">
			<view class="con_title">
				<view>AID</view><view>业务员</view><view>本月关联</view><view>总关联</view>
			</view>
			<view>
				<view>11111</view><view>拿破仑</view><view>1</view><view>1</view>
			</view>
		</view>
	</view>
</template>

<script>
	import contentSw from '../../components/workbench/contentSw.vue'
	export default {
		data() {
			return {
				conSwlist:[{name:'设备关联'},{name:'设备绑定'}]
			}
		},
		methods: {
			conswitch:function(data){
				console.log(data)
			}
		},
		components:{
			contentSw
		}
	}
</script>

<style lang="scss" scoped>
	.deviceStatistics{
		font-size: $uni-font-size-base;
		height: 100%;
		background-color: $uni-bg-color-grey;
		.top{
			background-color: #FFFFFF;
		}
		.content{
			width: 100%;
			>view{
				background-color: #FFFFFF;
				display: flex;
				width: 100%;
				padding: 20rpx 0;
				>view{
					width: 25%;
					text-align: center;
				}
				&.con_title{
					margin-bottom: 30rpx;
				}
			}
		}
	}
</style>
